﻿Public Class AçıktanTakip

    Private Sub SozlesmeDetayBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SozlesmeDetayBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.SozlesmeDetayBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.AçıktanTakipDataSet)

    End Sub

    Private Sub AçıktanTakip_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'PazLookupDataSet.Pazarlamacılar' table. You can move, or remove it, as needed.
        Me.PazarlamacılarTableAdapter.Fill(Me.PazLookupDataSet.Pazarlamacılar)
        'TODO: This line of code loads data into the 'KiracıLookUpDataSet.Firmalar' table. You can move, or remove it, as needed.
        Me.FirmalarTableAdapter.Fill(Me.KiracıLookUpDataSet.Firmalar)
        'TODO: This line of code loads data into the 'AçıktanTakipDataSet.AcıktanTakip' table. You can move, or remove it, as needed.
        Me.AcıktanTakipTableAdapter.Fill(Me.AçıktanTakipDataSet.AcıktanTakip)
        'TODO: This line of code loads data into the 'AçıktanTakipDataSet.SozlesmeDetay' table. You can move, or remove it, as needed.
        Me.SozlesmeDetayTableAdapter.FillBy(Me.AçıktanTakipDataSet.SozlesmeDetay, SozNo:=PesinOdemeDetay.SozNoTextBox.Text)

    End Sub

    Private Sub FillByToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillByToolStripButton.Click
        Try
            Me.SozlesmeDetayTableAdapter.FillBy(Me.AçıktanTakipDataSet.SozlesmeDetay, SozNoToolStripTextBox.Text)
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
        End Try

    End Sub
End Class